<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
	<head>
		<meta name="title" th:content="'友情链接_'+${title}" />
		<meta name="description" th:content="${description}" />
		<meta name="keywords" th:content="${keywords}" />
		<meta charset="utf-8" />
		<meta name="viewport"
			content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title>友情链接</title>
		<link rel="stylesheet" href="css/reset.css">
		<link rel="stylesheet" href="css/swiper.min.css">
		<link rel="stylesheet" href="css/index.css">
		<script src="js/jquery.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="js/swiper.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="js/index.js"></script>
		<style>
			.allTit {
				text-align: center;
				font-weight: bold;
				color: #498CD1 !important;
				font-size: 24px;
				margin-bottom: 20px;
			}
			
			.allTit i {
				letter-spacing: 2px;
				font-style: normal;
			}
			.serchList{
				width: 50%;
				height: 150px;
				padding: 0 15px;
				box-sizing: border-box;
				margin-top: 20px;
			}
			.serchListMain{
				width: 100%;
				border-bottom: dashed 1px #dddddd;
				float: left;
			}
			.serchListMainLeft{
				height: 60px;
				width: 60px;
				padding: 5px;
				box-sizing: border-box;
				float: left;
				overflow: hidden;
				display: flex;
				align-items: center;
				justify-content: center;
			}
			.serchListMainLeft>img{
				max-width: 100%;
				max-width: 100%;
				width: auto;
				height: auto;
			}
			.serchListMainRight{
				float: left;
				width: calc(100% - 150px);
				padding-right: 10px;
				box-sizing: border-box;
			}
			.serchListMainRight>ul{
				margin-left: 10px;
			}
			.serchListMainRight>ul>:first-child{
			    font-size: 16px;
				font-weight: 500;
				color: black;
				margin-top: 20px;
			}
			.serchListMainRight>ul>:first-child + li{
			    font-size: 14px;
				color: #666666;
				margin-top: 30px;
				display: -webkit-box;
				-webkit-box-orient: vertical;
				-webkit-line-clamp: 3;
				overflow: hidden;
			}
			@media screen and (max-width: 768px) {
				.serchList{
					width: 100%;
				}
				.serchListMainLeft{
					width: 100px;
				}
				.serchListMainRight{
					width: calc(100% - 100px);
				}
			}
		</style>
	</head>
	<body>
		<div id="root">
			<div>
				<div class="cOYSvF">
					<div class="header-page"></div>
					<div class="swiper-shop swiper-container">
						<div class="swiper-wrapper">
							<div class="swiper-slide" th:each="banner :${banners}" th:style="'background: url(' + ${banner.images} + ');'">

							</div>
						</div>
						<div class="swiper-pagination"></div>
					</div>
					<div class="eZHbVe" style="margin-top: 30px;">
						<h3 class="allTit"><a style="color:#999999;">—</a>&nbsp;&nbsp;&nbsp;<i style="color: #333333;">友情链接</i>&nbsp;&nbsp;&nbsp;<a
							 style="color:#999999;">—</a></h3>
						<div class="clearfix">
							<a th:href="${k.url}" class="serchList fl" th:each="k :${list}">
								<div class="serchListBox">
									<div class="serchListMain" >
										<div class="serchListMainLeft"><img
												th:src="${k.images}">
										</div>
										<div class="serchListMainRight">
											<ul>
												<li th:text="${k.title}">重庆恒扬禾信息技术有限公司</li>
											</ul>
										</div>
									</div>
								</div>
							</a>
							
						</div>
					</div>

				</div>
			</div>
			<div class="footer-page"></div>
			<div class="login-cli"></div>
		</div>
		<script>
			$(function() {
				$(".header-page").load("http://122.14.195.113:8089/header.html");
				$(".footer-page").load("http://122.14.195.113:8089/footer.html");
				$(".login-cli").load("http://122.14.195.113:8089/login-cli.html");
			});
			var swiper = new Swiper('.swiper-shop', {
				spaceBetween: 0,
				loop: true,
				autoplay: {
					delay: 3000,
					disableOnInteraction: false,
				},
				pagination: {
					el: '.swiper-pagination',
					clickable: true,
				},
				observer: true,
				observeParents: true,
				watchOverflow: true
			});
		</script>
	</body>
</html>
